package com.xzy.mybatis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xzy.xiao
 * @date 2023/10/11  9:38
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tbl_test_c")
public class TestC {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String remark;

    public TestC(String remark) {
        this.remark = remark;
    }
}
